#include <stdio.h>

char* xstrcat (char* str1, const char* str2){
	char * p = str1;
	
	while(*p){
		++p;
	}
	
	while(*str2){
		*p = *str2;
		++p;
		++str2;
	}
	*p = 0;

	return str1;
}

int main (){
	char str1 [255] = "Ola ";
	puts(xstrcat(str1, "Ana, Ricardo e Tiago"));

	return 0;
}
